package com.lin.form;


import lombok.Data;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by MYQ on 2017/10/28.
 */
@Data
public class CompanyForm {
    private Integer id;

    @NotEmpty(message = "公司名称不能为空")
    private String name;

    private String remark;

    private String legalRepresentative;

    private String businessLicense;

    private String contactPerson;

    private String contactPhone;

    private String address;

    private String province;

    private String city;

    private String district;

    @Email(message = "正输入正确邮箱格式")
    private String email;

    private String type;

    private String businessType;
}
